package com.xyd.Entity;



import com.alibaba.fastjson.annotation.JSONField;


import com.alibaba.fastjson.serializer.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class FatherOrder implements Serializable {
    //修改后表结构对应的的属性 @author:余全盛
    @JSONField(serializeUsing= ToStringSerializer.class)
    private Long fatherorderid;

    private Double sum;
    private Timestamp createtime;
    /**
     * 修改前的属性：
     * private int userid;
     *
     * @author：李思傧
     * 再一次修改后的属性：
     * private User user;
     * 使用高级结果映射进行多表查询，配置ResultMap时需要修改此属性
     */
    private User user;
    private int state;

    //原先表结构对应的属性
    //帮你注释掉了
//    private int DDh;
//    private int DHuserid;
//    private String CTime;
//    private int val_type;
}
